package com.nxk.modules.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nxk.modules.core.entity.SysMenu;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {

    boolean save(SysMenu sysMenu);

    boolean updateStatus(SysMenu sysMenu);

     List<SysMenu> list(SysMenu sysMenu);

    List<SysMenu> listRole(SysMenu sysMenu);

    List<SysMenu> getChildren(String parentId,String status);

    SysMenu getById(String id);

    boolean deleteById(String id);


}
